Deprecated API

Deprecated Classes
jade.domain.AMSServiceCommunicator
          Use AMSService instead 
jade.domain.DFServiceCommunicator
          Use DFService instead. 
jade.proto.FipaContractNetInitiatorBehaviour
            
jade.proto.FipaQueryInitiatorBehaviour
            
jade.core.behaviours.NonDeterministicBehaviour
          Use ParallelBehaviour instead. Composite behaviour with non deterministic children scheduling. It is a ComplexBehaviour that executes its children behaviours non deterministically, and it terminates when a particular condition on its sub-behaviours is met. Static Factory Methods are provided to get a NonDeterministicBehaviour that ends when all its sub-behaviours are done, when any sub-behaviour terminates or when N sub-behaviours have finished. 
 

Deprecated Methods
jade.wrapper.AgentContainer.createAgent(String, String, String[])
          The array of agent arguments is now Object[] and no more String[] 
jade.core.Runtime.enableDefaultToolkit()
          This method should not be used. It has been temporarily introduced for the JSP example and it will be removed in the next version of JADE 
jade.core.Agent.extractContent(ACLMessage)
          This support to message-content (both fillContent and extractContent) will not be ported into the CLDC-J2ME environment. In the long-term, it will be replaced with the new message-content support implemented by jade.content.ContentManager. In the short-term,
  • in the J2SE environment this deprecated method can temporarily continue to be used
  • in the PersonalJava environment the equivalent methods fillMsgContent and extractMsgContent should be instead used that use jade.util.leap.List instead of java.util.List, the latter being not supported in PersonalJava
 
jade.core.Agent.fillContent(ACLMessage, List)
          This support to message-content (both fillContent and extractContent) will not be ported into the CLDC-J2ME environment. In the long-term, it will be replaced with the new message-content support implemented by jade.content.ContentManager. In the short-term,
  • in the J2SE environment this deprecated method can temporarily continue to be used
  • in the PersonalJava environment the equivalent methods fillMsgContent and extractMsgContent should be instead used that use jade.util.leap.List instead of java.util.List, the latter being not supported in PersonalJava
 
jade.lang.acl.ACLMessage.getAllPerformatives()
          Use getAllPerformativeNames() instead 
jade.lang.acl.ACLMessage.getReplyBy()
          Since the value of this slot is a Date by definition, then the getReplyByDate should be used that returns a Date 
jade.domain.RequestFIPAServiceBehaviour.getSearchResult()
          Use getSearchResults() instead. 
jade.lang.acl.MessageTemplate.MatchReceiver(List)
          Use MatchReceiver(AID[]) instead 
jade.lang.acl.MessageTemplate.MatchReplyTo(List)
          Use MatchReplyTo(AID[]) 
jade.core.behaviours.CompositeBehaviour.postAction()
          Use onEnd() instead. This method is just an empty placeholder for subclasses. It is invoked just once after this behaviour has ended. Therefore, it acts as an epilog for the composite task represented by this CompositeBehaviour. 
jade.core.behaviours.CompositeBehaviour.preAction()
          Use onStart() instead. This method is just an empty placeholders for subclasses. It is executed just once before starting children scheduling. Therefore, it acts as a prolog to the composite task represented by this CompositeBehaviour. 
jade.core.Agent.setArguments(String[])
          use the method getArguments instead 
jade.lang.acl.ACLMessage.setReplyBy(String)
          The value of the reply-by slot must be a valid Date, the method setReplyByDate should be used that guarantees avoiding problems. If the passed parameter represents a wrong date, this method silently converts its value to null. 
jade.core.AID.toText(Writer)
          replaced by the method toString 
jade.lang.acl.ACLMessage.toText(Writer)
          the toString method should be used instead of this method. 
jade.domain.FIPAAgentManagement.APDescription.toText(Writer)
          the toString method should be used instead of this method. 
jade.domain.FIPAAgentManagement.APTransportDescription.toText(Writer)
          the toString method should be used instead of this method. 
jade.domain.FIPAAgentManagement.MTPDescription.toText(Writer)
          the toString method should be used instead of this method. 
 

Deprecated Constructors
jade.lang.acl.ACLMessage()
          Since every ACL Message must have a message type, you should use the new constructor which gets a message type as a parameter. To avoid problems, now this constructor silently sets the message type to not-understood. 
jade.core.AID(String)
          This constructor might generate a wrong AID, if the passed parameter is not a guid (globally unique identifier), but the local name of an agent (e.g. "da0").